-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Traceroute Feature #211
Conversation
As noted in meshtastic#179, it would be great to be able to send traceroutes from the web application. This patch adds a button to the messages page that sends a traceroute to the selected node.
This reverts commit 5fdd07e.
This reverts commit 6e14542.
As noted in meshtastic#179, it would be great to be able to send traceroutes from the web application. This patch adds a button to the messages page that sends a traceroute to the selected node.
This patch adds basic traceroute display functionality on the Messages page for an individual node.
TODO:
|
It doesn't work, it's only for nodes!
Several types were wrong.
hey tom, thanks for adding! Unfortunately I can't help you much because my programming knowledge doesn't include typescript |
I've been using this for the past couple weeks and asked some people in the local community to test as well. Result is: it works reliably :) I don't have the skill to design a great UI integration, so hoping someone might be able to help in that area. |
@fifieldt This is what I came up with, going to polish it a bit more: (Both of my nodes are named Hunter, its not a bug lol) If a traceroute hasn't been run the panel doesn't show. I also added a Toast message to say "Running Traceroute, please wait..." as it takes a few seconds to get a response (if any response). I'm working on error handling right now so the user doesn't just think the traceroute button is broken as some radios don't respond if they're in your node list but not online. Great work on this it works flawlessly. |
@fifieldt if I update this with my UI code could you tackle the timeout error Toast message? |
Is the traceroute feature already available in version 2.3.13? |
Sorry for the delay @Hunter275 , yes I can have a go at that. @cracky22 this hasn't merged yet, but you could download the code and test if you liked :) |
How can I test it on the heltec v2.1? |
Great work @fifieldt and @chrisdrackett |
@Hunter275 hi, when will the new webgui be available on the devices themselves (as an example for repeaters that are in the home network via wifi) |
@cracky22 that is determined by the firmware releases, I do not control that. |
As noted in #179, it would be great to be able to send traceroutes from the web application. Here's the very basic functionality.
Subscribe to Traceroute packets
Previously we were not triggering an event on receipt of a traceroute packet
Store Traceroute packages
The DeviceStore now stores received traceroute packets.
A button to send a traceroute
Adds a button to the Messages page for individual nodes which, when clicked, sends a traceroute to the selected node.
Functionality to view traceroutes
Adds a section in the Message page for individual nodes that shows the routes of received traceroute information.